package com.cole.miniapp.project.enumeration.template;

/**
 * @Author: Ceanie
 * @Despriction:
 * @Date: Created in 22:47 2019-04-28
 * @Modify By: 消息枚举
 **/
public enum MessageTemplateEmun {
    /**
     * 充值若未到账，即使联系客服
     */
    CODE_0((byte)0,"充值若未到账，及时联系客服"),

    /**
     * 充值出现异常，即使联系客服
     */
    CODE_1((byte)1,"充值出现异常，及时联系客服"),

    /**
     * 如果有订单异常请及时联系客服
     */
    CODE_98((byte)98,"如果有订单异常请及时联系客服"),

    CODE_99((byte)99,"请及时联系客服");

    private final Byte code;

    private final String msg;

    private MessageTemplateEmun(Byte code, String msg) {
        this.code=code;
        this.msg = msg;
    }

    public Byte getCode(){
        return code;
    }

    public String getMsg(){
        return msg;
    }
}
